<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<?php
		$sum = 0;
		for($i = 1;$i < 100;$i+=2)
		{
			$sum += $i;
		}
		echo"100以内的奇数和(for循环)：".$sum;
	?>
	
	</body>
</html>